package com.example.demo.service;

import com.example.demo.entiy.Comment;

import java.util.List;

public interface CommentService {

    public List<Comment> getCommentListByArticleId(Integer articleId);

    public int insertCommentByComment(Comment comment);

    public int getAllCommentNum();

    public List<Comment> getCommentOrderByCreatedDesc();

    public int deleteCommentByArticleId(Integer articleId);
}
